package com.acme.bankapp.domain.bank;

import java.io.Serializable;

import com.acme.bankapp.domain.exceptions.NotEnoughFundsException;
import com.acme.bankapp.domain.exceptions.OverDraftLimitExceededException;

public interface Account {
		
	double getBalance();
	
	int getID();
	
	double maximumAmountToWithdraw();
	
	void deposit(double amount);		

	void withdraw(double amount) throws IllegalArgumentException, OverDraftLimitExceededException, NotEnoughFundsException;
}
